package com.递归2;

public class 十进制转换为二进制 {
    public static class Solution{
        public static void change(int num){
            if(num<2){
                System.out.print(num%2);
              return;
            }

            change(num/2);
            System.out.print(num%2);

        }

        public static void main(String[] args) {
            int num = 0;
             change(num);
            //System.out.println(2/3);

        }
    }
}
